package okw.network;

import java.sql.Time;

import core.messages.IMessage;

public class QueueItem {
	private IMessage msg;
	private Terminal terminal = null;
	private Time time = null;


	public QueueItem(IMessage msg, Terminal t) {
		this.msg = msg;
		this.setTerminal(t);
	}
	
	public IMessage getMsg() {
		return msg;
	}

	public void setMsg(IMessage msg) {
		this.msg = msg;
	}

	public Time getTime() {
		return time;
	}

	public void setTime(Time time) {
		this.time = time;
	}

	public Terminal getTerminal() {
		return terminal;
	}

	public void setTerminal(Terminal terminal) {
		this.terminal = terminal;
	}
}
